home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / print.idb / usr / share / catman / u_man / cat1 / lpr.z / lpr
Encoding:
Text File  |  1997-07-30  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. LLLLPPPPRRRR((((1111))))                          PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                          LLLLPPPPRRRR((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lpr - BSD print spooler
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      llllpppprrrr [ ----PPPP_p_r_i_n_t_e_r ] [ ----####_n_u_m ] [ ----CCCC _c_l_a_s_s ] [ ----JJJJ _j_o_b ] [ ----TTTT _t_i_t_l_e ] [ ----iiii [
  13.      _n_u_m_c_o_l_s ]] [ ----ppppllllttttrrrrmmmmhhhhssss ] [ name ...  ]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      LLLLpppprrrr uses a spooling daemon to print the named files when facilities
  17.      become available.  If no names appear, the standard input is assumed.
  18.      The ----PPPP option may be used to force output to a specific printer.
  19.      Normally, the default printer is used (site dependent), or the value of
  20.      the environment variable PRINTER is used.
  21.  
  22.      The following single letter options are used to notify the line printer
  23.      spooler that the files are not standard text files. The spooling daemon
  24.      will use the appropriate filters to print the data accordingly.
  25.  
  26.      ----pppp   Use _p_r(1) to format the files (equivalent to _p_r_i_n_t).
  27.  
  28.      ----llll   Use a filter which allows control characters to be printed and
  29.           suppresses page breaks.
  30.  
  31.      ----tttt   The files are assumed to contain data from _t_r_o_f_f(1).
  32.  
  33.      The remaining single letter options have the following meaning.
  34.  
  35.      ----rrrr   Remove the file upon completion of spooling or upon completion of
  36.           printing (with the ----ssss option).
  37.  
  38.      ----mmmm   Send mail upon completion.
  39.  
  40.      ----hhhh   Suppress the printing of the burst page.
  41.  
  42.      ----ssss   Use symbolic links.  Usually files are copied to the spool
  43.           directory.
  44.  
  45.      The ----CCCC option takes the following argument as a job classification for
  46.      use on the burst page.  For example,
  47.  
  48.           lpr -C EECS foo.c
  49.  
  50.      causes the system name (the name returned by _h_o_s_t_n_a_m_e(1)) to be replaced
  51.      on the burst page by EECS, and the file foo.c to be printed.
  52.  
  53.      The ----JJJJ option takes the following argument as the job name to print on
  54.      the burst page.  Normally, the first file's name is used.
  55.  
  56.      The ----TTTT option uses the next argument as the title used by _p_r(1) instead
  57.      of the file name.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LLLLPPPPRRRR((((1111))))                          PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                          LLLLPPPPRRRR((((1111))))
  71.  
  72.  
  73.  
  74.      To get multiple copies of output, use the ----####_n_u_m option, where _n_u_m is the
  75.      number of copies desired of each file named.  For example,
  76.  
  77.           lpr -#3 foo.c bar.c more.c
  78.  
  79.      would result in 3 copies of the file foo.c, followed by 3 copies of the
  80.      file bar.c, etc.  On the other hand,
  81.  
  82.           cat foo.c bar.c more.c | lpr -#3
  83.  
  84.      will give three copies of the concatenation of the files.
  85.  
  86.      The ----iiii option causes the output to be indented. If the next argument is
  87.      numeric, it is used as the number of blanks to be printed before each
  88.      line; otherwise, 8 characters are printed.
  89.  
  90.      The ----wwww option takes the immediately following number to be the page width
  91.      for _p_r.
  92.  
  93.      The ----ssss option will use _s_y_m_l_i_n_k(2) to link data files rather than trying
  94.      to copy them so large files can be printed.  This means the files should
  95.      not be modified or removed until they have been printed.
  96.  
  97. FFFFIIIILLLLEEEESSSS
  98.      /etc/passwd            personal identification
  99.      /etc/printcap          printer capabilities data base
  100.      /usr/lib/lpd*          line printer daemons
  101.      /usr/spool/*           directories used for spooling
  102.      /usr/spool/*/cf*       daemon control files
  103.      /usr/spool/*/df*       data files specified in "cf" files
  104.      /usr/spool/*/tf*       temporary copies of "cf" files
  105.  
  106. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  107.      lpq(1), lprm(1), pr(1), symlink(2), printcap(4), lpc(1M), lpd(1M)
  108.  
  109. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  110.      If you try to spool too large a file, it will be truncated.  _L_p_r will
  111.      object to printing binary files.  If a user other than root prints a file
  112.      and spooling is disabled, _l_p_r will print a message saying so and will not
  113.      put jobs in the queue.  If a connection to _l_p_d on the local machine
  114.      cannot be made, _l_p_r will say that the daemon cannot be started.
  115.      Diagnostics may be printed in the daemon's log file regarding missing
  116.      spool files by _l_p_d.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.